package io.polly.ldz.reactor.mvc;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @Author ldz112@163.com
 * @Classname Question
 * @Version V1.0
 * @Description document
 * @Date 2024/10/8 16:25
 * Copyright (C) 2023 All Rights Reserved
 */
@Data
public class Question {

    Long questionId;
    //text 且整体作为整体的index
    String title;
    int balance;
    Date createTime;
//    @JsonProperty("questionContent")解决ES中字段与实体类字段不一致的问题
    String content;
    List<String> tags;
}
